/*
 * @Author: syt.at.metgs.com
 * @Date: 2024-07-01 14:31:20
 * @Description: 路由配置
 */
import { createRouter, createWebHashHistory } from 'vue-router';
import cssRoutes from './css.js';
import chartRoutes from './chart.js';
const defaultRouter = [
  { 
    path: '/', 
    component: () => import('@/views/home/Index.vue'),
    children: [
      ...cssRoutes,
      ...chartRoutes,
    ],
  }, 
];

const router = createRouter({
  history: createWebHashHistory(),
  routes: defaultRouter,
});

export default router;
